 package program.commands;  

 import item.*; 
 import program.*;  
 
 /** 
  * A class concerning the commands of a program.   
  */ 
 public abstract class Commands extends ProgramElement {
	 
	  /**          
	   * Initialise this new command with a line number.          
	   */    
	  public Commands(int lineNb) {     
		  super(lineNb); 
	  }

	  /**
	   * Return the next basic command for a robot, given the last executed line number. 
	   * @param lineNb
	   * The last line number of the last executed command.   
	   * @param robot 
	   * Select the next basic command for this robot.    
	   */
	  public abstract BasicCommand getNextBasicCommand(int lineNb, Robot robot);
  }  